/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jili.ubert.clientapi.until;

import com.jili.ubert.clientapi.MsgEntity;
import com.jili.ubert.clientapi.until.AnswerHandler;
import com.jili.ubert.clientapi.until.AbstractWorker;

/**
 *
 * @author ChengJiLi
 */
public class GetVerCode extends AbstractWorker{
    public GetVerCode(){}
    public GetVerCode(AnswerHandler<String> handler){
        super.setAnswerHandler(handler);
    }
    @Override
    public void Onhandler(MsgEntity msg) {
        
        getAnswerHandler().OnAnswer(new String(msg.getData()));
    }
    public void fire(int id){
    //    tradeNettyClient.SendSYNCMsg((short) 0,id, new byte[1]);
    }
}
